* A quick demo of how to get around a problem with qualifiers that include
* reference to attributes from a one-to-one relationship.
*
* You may freely copy, distribute, and reuse the code in this example.
* NeXT disclaims any warranty of any kind, expressed or implied, as to its
* fitness for any particular use.
*
* Written by: Mai Nguyen, NeXT Developer Support
*
*
*/
#import "Controller.h"
#define INSTALL_MODEL NXLocalizedString("Please install OracleDemo.dbmodel into your ~/Library/Databases directory and restart.", NULL, "Notify user that OracleDemo.dbmodel must be installed in his local Databases directory.")
@implementation Controller
/*
* Extract the actual database and recordlist from the DBModule UI Object
*/
-appDidInit:sender
{
/* Notify the user if the database can't be found */
if (!(dbDatabase = [DBDatabase findDatabaseNamed:"OracleDemo" connect:YES])) {